package kr.co.mcshop.qnacomment;

import java.io.Serializable;
import java.sql.Date;

public class QnAComment implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer comment_no;
	private Integer board_no;
	private String user_id;
	private String pass;
	private String comment;
	private Date registdate;

	public Integer getComment_no() {
		return comment_no;
	}

	public void setComment_no(Integer comment_no) {
		this.comment_no = comment_no;
	}

	public Integer getBoard_no() {
		return board_no;
	}

	public void setBoard_no(Integer board_no) {
		this.board_no = board_no;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getRegistdate() {
		return registdate;
	}

	public void setRegistdate(Date registdate) {
		this.registdate = registdate;
	}

	@Override
	public String toString() {
		return "Comment [comment_no=" + comment_no + ", board_no=" + board_no
				+ ", user_id=" + user_id + ", pass=" + pass + ", comment="
				+ comment + ", registdate=" + registdate + "]";
	}

	public QnAComment(Integer comment_no, Integer board_no, String user_id,
			String pass, String comment, Date registdate) {
		super();
		this.comment_no = comment_no;
		this.board_no = board_no;
		this.user_id = user_id;
		this.pass = pass;
		this.comment = comment;
		this.registdate = registdate;
	}

	public QnAComment() {
		super();
		// TODO Auto-generated constructor stub
	}

}
